package com.xn.app.muying;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.view.View;
import android.webkit.WebView;
import android.webkit.WebViewClient;

import com.xn.app.muying.util.APIMethod;

public class GouMaiActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_gou_mai);
        findViewById(R.id.guan_bi).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
        WebView gou_mai = (WebView) findViewById(R.id.gou_mai);
        gou_mai.setWebViewClient(new WebViewClient());
        gou_mai.loadUrl(APIMethod.GouMia);
    }
}
